From 8cfdfc92fcf41f5db6d30015b20457ca64f0c3ce Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 8 Mar 2025 13:39:40 +0000 Subject: Support method calls from other namespaces (without Wasm support) --- ...ompiler.testing.snapshots.Snapshotter)].expected | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInSameNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInSameNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInSameNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInSameNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..7b048f63 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInSameNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,21 @@ +Compilation unit elements: + + +Locals: + * (val "tmp__name__0" int) + +Instructions: + +( + ( + memory-load + (local "tmp__name__0") + pointer=(data-ptr-const "shed__method__Example_Project__User__name") + layout=int + offset=() + ) +) + +Temporary stack: + * PatioLocalRef[name=tmp__name__0] + * PatioLocalRef[name=a] -- cgit v1.2.3